package hu.sulirend.model;

import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * Represents the teachers at the school.
 *
 * @author <a href="mailto: peter.szilagyi@gmail.com">Peter Szilagyi</a> 
 * @since 2008
 */
@Entity
public class Teacher extends BaseEntity {

	private static final long serialVersionUID = -6106616446490300978L;
	
	private String name;

	@Column(unique=false, nullable=false, updatable=true, insertable=true)
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
}
